export default ({ request }) => ({
  /**
   * 获取工序任务列表
   * @returns 
   */
  GET_TASK_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/taskmng/list",
      method: "post",
      data: data,
    });
  },
  /**
   * 获取任务详情
   * @returns 
   */
  GET_TASK_DETAILS(id) {
    return request({
      url: "/budwk/smartlc/lc/taskmng/get/" + id,
    });
  },
  /**
   * 更新任务数据
   * @returns 
   */
  UPDATE_TASK_DATA(data) {
    return request({
      url: "/budwk/smartlc/lc/taskmng/update",
      method: "post",
      data: data,
    });
  }
});
